package com.firebird.app.fekpsl.mvp.sword.rank

import com.firebird.app.fekpsl.base.IModel
import com.firebird.app.fekpsl.base.IPresenter
import com.firebird.app.fekpsl.base.IView
import com.firebird.app.fekpsl.bean.HttpResult
import com.firebird.app.fekpsl.bean.BaseListResponseBody
import com.firebird.app.fekpsl.bean.Fan
import io.reactivex.Observable

/**
 * Created by firebird on 2018/4/21.
 */
interface FanRankContract {

    interface View : IView {
        fun showFanRankList(body: BaseListResponseBody<Fan>)
    }

    interface Presenter : IPresenter<View> {
        fun getFanRankList(pageNo: Int)
    }

    interface Model : IModel {
        fun getFanRankList(pageNo: Int): Observable<HttpResult<BaseListResponseBody<Fan>>>
    }

}